package com.service;

import java.util.List;

import com.base.BaseService;
import com.base.PageBean;
import com.base.UserBean;
import com.bean.Userinfo;

public interface UserinfoService extends BaseService {
	
	public Object gett(Long id);
	public String deleteUserinfo(Userinfo userinfo);
	public void updateOrder(Userinfo order);
	public Userinfo findByuserId(Long id);
	public String delete(Long id, Integer flag) throws Exception;
	public String updateuserandrecord(Userinfo user, Userinfo parkOrder);
	public List<Userinfo> query(Userinfo object, UserBean userBean) throws Exception;
	public Userinfo findByuserinfoId(Long id);
	public List finduserlist(Userinfo userinfo,PageBean page);
	public List<Userinfo> findststus();
	public String lock(Long id, Integer flag);

	/**
	 * 停车场管理员查询本停车场的所有订单
	 * <p>Title: queryMyParkOrder</p>
	 * <p>Description: </p>
	 * @param object
	 * @return
	 * @throws Exception
	 */
	public List<Userinfo> queryMyParkOrder(Userinfo object, UserBean userBean) throws Exception;
	
	
	public List<Userinfo> getOrderList(Long id)throws Exception;
	
	/**
	 * 收费员查询自己的订单
	 * <p>Title: queryMyOrder</p>
	 * <p>Description: </p>
	 * @param object
	 * @return
	 * @throws Exception
	 */
	public List<Userinfo> queryMyOrder(Userinfo object, UserBean userBean) throws Exception;
}
